package com.lw.sbdemo2.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.lw.sbdemo2.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import java.math.BigDecimal;

/**
 * <p>标题: 用户试卷记录表实体</p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2019</p>
 * <p>公司: 山人行工作室</p>
 *
 * @version: 1.0
 * @author: LinWang
 * @date 2019-4-14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Alias("TkUserAnswerExamRecord")
@ApiModel(description = "用户试卷记录表实体")
public class TkUserAnswerExamRecord extends BaseEntity {

    @ApiModelProperty(value = "用户ID")
    private java.lang.String userId;
    @ApiModelProperty(value = "试卷ID")
    private java.lang.String examId;
    @JSONField(format = "yyyy.MM.dd HH:mm:ss")
    @ApiModelProperty(value = "答题开始时间")
    private java.util.Date startTime;
    @JSONField(format = "yyyy.MM.dd HH:mm:ss")
    @ApiModelProperty(value = "答题结束时间")
    private java.util.Date endTime;
    @ApiModelProperty(value = "错题数目列表")
    private java.lang.String wrongQuestions;
    @ApiModelProperty(value = "错题数")
    private java.lang.String wrongCount;
    @ApiModelProperty(value = "答题成绩")
    private BigDecimal answerScore;
    @ApiModelProperty(value = "全站排名")
    private String stationRanking;
    @ApiModelProperty(value = "答题用时")
    private java.lang.String useTime;
    @ApiModelProperty(value = "答题进度")
    private java.lang.String nowIndex;

    @ApiModelProperty(value = "上次观看时间（秒）")
    private java.lang.Integer preLookSecond;

    @ApiModelProperty(value = "已观看标识")
    private java.lang.String hasLook;

    @ApiModelProperty(value = "试卷名称")
    private java.lang.String examName;

    @ApiModelProperty(value = "用户名称")
    private java.lang.String userName;
    @ApiModelProperty(value = "全部题数")
    private Long allNum;
    @ApiModelProperty(value = "错误题数")
    private Long errorNum;

    @ApiModelProperty(value = "所属单元")
    private java.lang.String subUnit;

    @ApiModelProperty(value = "头像")
    private java.lang.String headImg;

    @ApiModelProperty(value = "年级ID")
    private java.lang.String gradeId;
    @ApiModelProperty(value = "班级ID")
    private java.lang.String classId;
    @ApiModelProperty(value = "教师ID")
    private java.lang.String teacherId;

    @ApiModelProperty(value = "年级名称")
    private java.lang.String gradeName;
    @ApiModelProperty(value = "班级名称")
    private java.lang.String className;

    @ApiModelProperty(value = "用户姓名")
    private java.lang.String teacherName;

    @ApiModelProperty(value = "用户姓名")
    private java.lang.String schoolName;

    @ApiModelProperty(value = "平均分")
    private java.lang.String avgScore;

    @ApiModelProperty(value = "准确率")
    private BigDecimal exactRate;

    @ApiModelProperty(value = "首次答题成绩")
    private BigDecimal firstAnswerScore;
    @ApiModelProperty(value = "首次准确率")
    private BigDecimal firstExactRate;
    @ApiModelProperty(value = "首次答题开始时间")
    @JSONField(format = "yyyy.MM.dd HH:mm:ss")
    private java.util.Date firstStartTime;
    @ApiModelProperty(value = "首次答题结束时间")
    @JSONField(format = "yyyy.MM.dd HH:mm:ss")
    private java.util.Date firstEndTime;
    @ApiModelProperty(value = "首次使用时间")
    private java.lang.String firstUseTime;

    @ApiModelProperty(value = "个人排行")
    private java.lang.String userRank;
    @ApiModelProperty(value = "个人排行")
    private java.lang.String userRankRate;

    @ApiModelProperty(value = "考试类型")
    private java.lang.String examType;

    @ApiModelProperty(value = "选中导出考题")
    private java.lang.String examIdArr;

    @ApiModelProperty(value = "题目ID")
    private java.lang.String questionId;

    @ApiModelProperty(value = "视频地址")
    private java.lang.String videoUrl;
    @ApiModelProperty(value = "视频配置")
    private java.lang.String videoConfig;
}
